﻿using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QRCodeBasicsWPF
{
    public static class Extensions
    {
        public static CameraSpacePoint Add(this CameraSpacePoint cameraSpacePoint, CameraSpacePoint cameraSpacePoint2)
        {
            return new CameraSpacePoint
            {
                X = cameraSpacePoint.X + cameraSpacePoint2.X,
                Y = cameraSpacePoint.Y + cameraSpacePoint2.Y,
                Z = cameraSpacePoint.Z + cameraSpacePoint2.Z
            };
        }

    }
}
